package com.fdk.wms.entity;


import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

import java.util.Date;

@Data
public class Book {
    private Integer id;
    private String code;
    private String name;
    private String author;
    private String publishing_house;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date publishing_time;
    private Integer state;
}

